package tt.dz.order.vo;

import java.util.List;

/**
 * @Title 订单系统运营管理操作员登录VO类
 * @author zhoutian   
 * @date 2015-11-26
 */
public class LoginForOperVO {
	//手机号码
	private String mobileNo;
	//密码或短信验证码
	private String password;
	//业务系统编码
	private String sysCode;
	
	public String getMobileNo() {
		return mobileNo;
	}

	public void setMobileNo(String mobileNo) {
		this.mobileNo = mobileNo;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getSysCode() {
		return sysCode;
	}

	public void setSysCode(String sysCode) {
		this.sysCode = sysCode;
	}

	public LoginForOperVO() {}
	
	public static class LoginForOperResponseVO {
		//用户名
		private String userName;
		//登录结果：1 成功，0 失败
		private int isSuccess;
		//错误信息
		private String errorMsg;
		//用户id，用户唯一标示
		private String userId;
		//用户id，用户唯一标示
		private List<SecRoleVo> roleList;
		
		public String getUserName() {
			return userName;
		}

		public void setUserName(String userName) {
			this.userName = userName;
		}

		public int getIsSuccess() {
			return isSuccess;
		}

		public void setIsSuccess(int isSuccess) {
			this.isSuccess = isSuccess;
		}

		public String getErrorMsg() {
			return errorMsg;
		}

		public void setErrorMsg(String errorMsg) {
			this.errorMsg = errorMsg;
		}

		public String getUserId() {
			return userId;
		}

		public void setUserId(String userId) {
			this.userId = userId;
		}

		public List<SecRoleVo> getRoleList() {
			return roleList;
		}

		public void setRoleList(List<SecRoleVo> roleList) {
			this.roleList = roleList;
		}

		public LoginForOperResponseVO() {}
	}
	
	public static class SecRoleVo {
		//业务系统编码
		private String sysCode;
		//角色ID
		private String roleId;
		//角色名称
		private String roleName;
		
		public String getSysCode() {
			return sysCode;
		}

		public void setSysCode(String sysCode) {
			this.sysCode = sysCode;
		}

		public String getRoleId() {
			return roleId;
		}

		public void setRoleId(String roleId) {
			this.roleId = roleId;
		}

		public String getRoleName() {
			return roleName;
		}

		public void setRoleName(String roleName) {
			this.roleName = roleName;
		}

		public SecRoleVo() {}
	}
}
